package com.attendance.www.hr.service;

import com.attendance.www.hr.beans.LactationBean;
import com.attendance.www.hr.beans.LactationPageBean;

public interface ILactationService {
	
	/**
	 * 新增验证时间是否重叠
	 * @param lactationBean
	 * @return
	 */
	public boolean getVerifySave(LactationBean lactationBean);

	/**
	 * 新增哺乳假
	 * @param lactationBean
	 * @return
	 */
	public boolean saveLactation(LactationBean lactationBean);
	
	/**
	 * 删除哺乳假
	 * @param lactationId
	 * @return
	 */
	public boolean deleteLactation(String lactationId);
	
	/**
	 * 修改哺乳假
	 * @param lactationBean
	 * @return
	 */
	public boolean updateLactation(LactationBean lactationBean);
	
	/**
	 * 查询哺乳假信息
	 * @param lactationBean
	 * @return
	 */
	public LactationPageBean getLactationList(LactationBean lactationBean);
	
	/**
	 * 根据ID查询哺乳假信息
	 * @param lactationId
	 * @return
	 */
	public LactationBean getLactationListById(String lactationId);
}
